package com.woniuxy.commons.service;

import com.woniuxy.commons.entity.TeacherEntity;
import com.woniuxy.commons.entity.TeacherEntityExample;
import com.woniuxy.commons.factory.RemoteCourseServiceFactory;
import com.woniuxy.commons.utils.Layui;
import feign.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author LuoChen
 * @DateTime 2020-08-03 14:39:38
 * @Description 远程调用教师模块
 */
@FeignClient(name = "TEACHER")
public interface RemoteTeacherService {
    @RequestMapping("/select")
    List<TeacherEntity> selectByExamplePaging(@Param("example") TeacherEntityExample example, @Param("offset") int offset, @Param("limit") int limit);
}
